package com.spring;

public class QinhonApplicationContext {

    public QinhonApplicationContext(Class configClass) {
        // 扫描类
        ComponentScan componentScan = (ComponentScan) configClass.getAnnotation(ComponentScan.class);
        String scanPath = componentScan.value();
        System.out.println(scanPath);
        // 生成单例bean
    }

    public Object getBean(String beanName){
        return null;
    }

}
